package com.daihou.model.ceres;

/**
 * @author liujintao
 * @date 2021/2/7 11:27
 */

public enum PermissionsUrlEnum {
    WHETHERSENSITIVEMSGMASK,
    USERLOGIN,
    USERLOGOUT;

//    public static void main(String[] args) {
//        PermissionsUrlEnum[] list = PermissionsUrlEnum.values();
//        ResourceBundle bundle = ResourceBundle.getBundle("permissions", Locale.CHINA);
//        List<String> ss = new ArrayList<>();
//        for (PermissionsUrlEnum permissionsEnum : list) {
//            boolean is = bundle.keySet().stream().anyMatch(s ->
//                    s.equalsIgnoreCase(permissionsEnum.name() + ".uri")
//            );
//            if (!is) {
//                ss.add(permissionsEnum.name());
//            }
//        }
//        System.out.println("枚举值差异" + ss.toString());
//    }
}
